Address security vulnerabilities - reduce from 7 to 5#2
Open
M1CTIAN wants to merge 5 commits intonhuyiuem:mainfrom
Open
Address security vulnerabilities - reduce from 7 to 5#2M1CTIAN wants to merge 5 commits intonhuyiuem:mainfrom
M1CTIAN wants to merge 5 commits intonhuyiuem:mainfrom
Conversation
vulnerabilities - Downgraded swagger-jsdoc from 6.2.8 to 3.7.0 - Fixes 7 vulnerabilities (1 low, 5 moderate, 1 high) - Updated all related dependencies in package-lock.json
- Upgraded swagger-jsdoc to latest version (6.2.8) - Reduced vulnerabilities from 7 (including 1 high) to 5 (all moderate) - Updated dependency tree to use @APIDevTools packages - Remaining 5 moderate vulnerabilities are in validator package (dependency chain) The high severity vulnerability has been eliminated. Remaining moderate vulnerabilities are in the validator package used by z-schema, which is a transitive dependency of swagger-jsdoc. These require upstream fixes.
3417fd1 to
7ed12e3
Compare
c7b53dd to
e6e9a3c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
π Description
This PR addresses security vulnerabilities in project dependencies by upgrading
swagger-jsdocto the latest version.π Security Improvements
Vulnerabilities Summary
Before:
After:
π§ Changes Made
swagger-jsdocfrom^3.7.0to^6.2.8@apidevtools/*packagesjson-schema-ref-parserβ β@apidevtools/json-schema-ref-parserswagger-methodsβ β@apidevtools/swagger-methodsopenapi-schemasβ β@apidevtools/openapi-schemasThe remaining 5 moderate vulnerabilities are in the
validatorpackage, which is a transitive dependency: